<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title></title>
  <style>
  .cell
  {
      height: 32px;
      width: 32px;
      float: left;
  }
  .sep
  {
      clear: both;
  }


  </style>
  <script language="JavaScript" src="templates/javascript/ajax.js" type="text/javascript"></script>
  <script type='text/javascript' src='templates/javascript/lib.js'></script>
  <script type='text/javascript' src='templates/javascript/utils.js'></script>
  <script type='text/javascript' src='templates/javascript/chat.js'></script>
  <link rel="stylesheet" href='templates/css/chat.css' type='text/css' />
</head>

<body onload='c = new Chat()'>
<span id="map_output" align="center">[%MAP_OUTPUT%]</span></center>
<a href="#" onclick="javascript: sendPOSTreqMap('dir=0&pas=1', 'map.php', 'map_output', getcom);">right</a><br>
<a href="#" onclick="javascript: sendPOSTreqMap('dir=2&pas=1', 'map.php', 'map_output', getcom);">up</a><br>
<a href="#" onclick="javascript: sendPOSTreqMap('dir=4&pas=1', 'map.php', 'map_output', getcom);">left</a><br>
<a href="#" onclick="javascript: sendPOSTreqMap('dir=6&pas=1', 'map.php', 'map_output', getcom);">down</a><br>
<div id='iframe' class='chatdiv'></div><br><br>
<input type = 'text' size='100' id='line' OnKeyDown='c.enter(event)'><br>
<input type = 'button' onClick = 'c.send()' value='Отправить сообщение'>
<input type = 'button' onClick = 'c.clean()' value='Очистить окно'>
<input type = 'text' id = 'nick' value='Ник'>
</body>

</html>
